res={}


function res.setPlayerHero(playerIndex,hero)
    res[playerIndex]=hero
    --table.insert(PlayerHero,playerIndex,hero)
end 

function res.getPlayerHero(playerIndex)
    return res[playerIndex]
end    

return res